home *** CD-ROM | disk | FTP | other *** search
/ CICA 1993 April / CICA MS Windows - April 1993.iso / unzipped / programr / textview / demo / global.h < prev    next >
C/C++ Source or Header  |  1991-06-12  |  845b  |  31 lines

  1. /*****************************************************************************
  2.  
  3.     global.h
  4.     --------
  5.  
  6.     Global data for the TextView DLL demonstration application
  7.  
  8.     This source is Copyright (c) Alan Phillips 1991. It may be freely used
  9.     and adapted for non-commercial applications. Commercial and ShareWare
  10.     authors should first obtain the written permission of the author.
  11.  
  12.     The source is edited with a tab size of 4.
  13.  
  14. *****************************************************************************/
  15.  
  16. #ifdef    MAINDEF
  17.  
  18. HANDLE    hInst;                            /* handle of current instance */
  19. HWND    hMainWnd;                        /* handle of main window */
  20. BOOL    tracing    = FALSE;                /* tracing active? */
  21. HWND    hTraceWnd;                        /* handle to trace window */
  22.  
  23. #else
  24.  
  25. extern    HANDLE    hInst;
  26. extern    HWND    hMainWnd;
  27. extern    BOOL    tracing;
  28. extern    HWND    hTraceWnd;
  29.  
  30. #endif
  31.